package com.demons.demonsojcodesandbox;

import com.demons.demonsojcodesandbox.model.ExecuteCodeResponse;
import com.demons.demonsojcodesandbox.model.ExecuteCondeRequest;
import org.springframework.stereotype.Component;

/**
 * java原生实现直接复用模板方法
 */
@Component
public class JavaNativeCodeSandBox extends JavaCodeSandboxTemplate {

    @Override
    public ExecuteCodeResponse executeCode(ExecuteCondeRequest executeCondeRequest) {
        return super.executeCode(executeCondeRequest);
    }
}
